package top.crxk.payment.service;

import org.apache.ibatis.annotations.Param;
import top.crxk.common.entity.Payment;

/**
 * [SpringCloud]
 * [top.crxk.payment.service.impl]
 * [2020/9/9 15:15]
 *
 * @author [crxk]
 * @version 1.0.0
 */
public interface PaymentService
{
    /**
     * Create int.
     *
     * @param payment the payment
     * @return the int
     */
    public int create(Payment payment);

    /**
     * Gets payment by id.
     *
     * @param id the id
     * @return the payment by id
     */
    public Payment getPaymentById(@Param("id") Long id);
}

